<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--bootstrap插件-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="/static/plugin/bootstrap/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/static/plugin/jo/joUI.css" rel="stylesheet"/>
    <!--字体插件-->
    <link href="/static/plugin/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/static/plugin/layui-2.4.3/css/layui.css" rel="stylesheet"/>
    <!--ztree-->
    <link href="/static/plugin/zTree/css/metroStyle/metroStyle.css" rel="stylesheet"/>
    <!--common-->
    <!--<link href="/static/css/common.css" rel="stylesheet"/>-->
    <!--H+首页相关css-->
    <link href="/static/plugin/index_hplus/css/animate.min.css" rel="stylesheet">
    <link href="/static/plugin/index_hplus/css/style.min862f.css" rel="stylesheet">
    <!--h+样式调整-->
    <link href="/static/plugin/index_hplus/ext.css" rel="stylesheet">
    <title>Young</title>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">

<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation" style="background-color: rgb(38, 50, 56);">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li style="height: 42px;line-height: 42px;padding-left: 22px;color: #76838f;font-size: 12px;">菜单栏</li>
                <!--<li>
                    <a class="J_menuItem" href="{URL_CMS}page/cms/gen/genMainList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">代码生成</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/umsConfigList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">UMS配置</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/userList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">用户管理</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/ssoSessionList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">SSO会话管理</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/loginLogList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">登录日志</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/deptList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">组织机构管理</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/deptUserList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">部门用户管理</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/roleList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">角色管理</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/navigateList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">资源管理</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/grantAuth.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">授权</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/roleNavigateList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">角色资源</span>
                    </a>
                </li>
                <li>
                    <a class="J_menuItem" href="{URL_UMS}page/ums/roleUserList.html" data-index="1">
                        <i class="fa fa-list fa-fw"></i>
                        <span class="nav-label">角色用户</span>
                    </a>
                </li>-->
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0;height: 60px;">
                <div class="head-bar bg-head" style="/*background-image: url('/static/images/wjy.jpg');*/background-size: 100% 100%;overflow: hidden;">
                    <!--logo区域-->
                    <div class="logo-bar">
                        <i class="fa fa-2x fa-diamond" aria-hidden="true"></i>&nbsp;
                        <!--<img src="<%=URL_STATIC%>static/images/bg.png" style="width: 45px;height: 45px;margin: 0px;padding: 0px;"/>-->
                        <span style="font-size: 18px;">Young快速开发平台</span>
                    </div>
                    <!--/logo区域-->
                    <!--顶部工具栏-->
                    <div class="head-tools-bar">
                        <ul class="tools-ul" style="padding-right: 12px;">
                            <li style="font-size: 20px;" data-toggle="popover" title="" data-container="body" data-trigger="hover"
                                data-toggle="popover" data-placement="bottom" data-content="个人信息" onclick="openPageOnTabs('/page/ums/personInfo.html','个人信息')">
                                <!--<a class="J_menuItem" href="{URL_UMS}page/ums/personInfo.jsp">--><i class="fa fa-1x fa-user" aria-hidden="true"></i>
                                <!--</a>-->
                            </li>
                            <li style="font-size: 20px;" data-toggle="popover" title="" data-container="body" data-trigger="hover"
                                data-toggle="popover" data-placement="bottom" data-content="注销" onclick="logout()">
                                <i class="fa fa-1x fa-power-off" aria-hidden="true"></i>
                            </li>
                        </ul>
                    </div>
                    <!--/顶部工具栏-->
                </div>
            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <!--tab页标题,与content-main里面的iframe要一一对应(data-id)-->
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab" data-id="home">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>
                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive"><a>定位当前选项卡</a>
                    </li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                    </li>
                    <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                    </li>
                </ul>
            </div>
            <a href="javascript:logout();" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <!--iframe容器-->
        <div class="row J_mainContent" id="content-main" style="">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="/page/home.html" frameborder="0" data-id="home" seamless></iframe>
        </div>
        <div class="footer">
            <div class="pull-right">&copy; 2018 <a href="http://www.imrookie.cn" target="_blank">imrookie's blog</a>
            </div>
        </div>
    </div>
    <!--右侧部分结束-->
</div>
<!--右侧边栏结束-->
</div>

<!--配置信息-->
<script src="/static/js/config.js"></script>
<!--jquery-->
<script src="/static/plugin/jquery/jquery-3.3.1.js"></script>
<script src="/static/plugin/jquery/jquery.cookie.js"></script>
<!--bootstrap-->
<script src="/static/plugin/bootstrap/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="/static/plugin/other/html5shiv.js"></script>
<script src="/static/plugin/other/respond.min.js"></script>
<![endif]-->
<!--layui-->
<script src="/static/plugin/layui-2.4.3/layui.all.js"></script>
<!--ztree-->
<script src="/static/plugin/zTree/js/jquery.ztree.all.js"></script>
<!--common-->
<script src="/static/js/common.js"></script>
<!--jo-->
<script src="/static/plugin/jo/jo.js"></script>
<script src="/static/plugin/jo/jo-adapt.js"></script>
<script src="/static/plugin/jo/jo-page-view.js"></script>
<script src="/static/plugin/jo/jo-page-form.js"></script>
<script src="/static/plugin/jo/jo-listener.js"></script>

<!--H+首页相关js-->
<script src="/static/plugin/index_hplus/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/static/plugin/index_hplus/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/static/plugin/index_hplus/js/hplus.js"></script>
<!--tab选项卡形式展示网页,要在所有相关的菜单(.J_menuItem)生产后加载-->
<script type="text/javascript" src="/static/plugin/index_hplus/js/contabs.js"></script>
<script src="/static/plugin/index_hplus/js/plugins/pace/pace.min.js"></script>
<!--h+首页js增强-->
<script src="/static/plugin/index_hplus/ext.js"></script>
<script type="text/javascript">
    //注销登录
    function logout(){
        jo.confirm("您确定要注销登录吗?", {title:"退出"}, function(){
            if(window.sessionStorage){
                sessionStorage.removeItem(LOCAL_STORAGE_KEY_TOKEN);//删除本地存储
            }
            window.location.href = URL_UMS + "sso/logout?currentPageUrl=" + encodeURIComponent(window.location.href) + "&currentTopPageUrl=" + encodeURIComponent(top.location.href);
        });
    }
</script>

</body>
</html>
